<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2019/11/10
 * Time: 21:44
 */

namespace Agoni\MeiTuan;


trait Api
{
 
    protected $URL = 'http://newopen.qa.imdada.cn';
//    protected $URL = 'http://newopen.imdada.cn';
    protected $APP_KEY = '';
    protected $VERSION = '1.0';
    protected $APP_SECRET = '';
    protected $API_ADDORDER = '/api/order/addOrder';
    protected $API_FETCHORDER = '/api/order/fetch';
    protected $API_CITY_LIST = "/api/cityCode/list";
    protected $API_FINISHORDER = '/api/order/finish';
    protected $API_CANCELORDER = '/api/order/cancel';
    protected $API_EXPIREORDER = '/api/order/expire';
    protected $API_FORMALCANCEL = '/api/order/formalCancel';
    protected $API_CANCELREASONS = '/api/order/cancel/reasons';
    protected $API_ACCEPTORDER = '/api/order/accept';
    protected $API_ADDTIP = '/api/order/addTip';
    protected $API_READDORDER = '/api/order/reAddOrder';

    protected $API_QUERYDELIVERFEE = '/api/order/queryDeliverFee';
    protected $API_ADDAFTERQUERY = '/api/order/addAfterQuery';
    protected $API_ADDSHOP = '/api/shop/add';
    protected $API_ADDMERCHANT = '/merchantApi/merchant/add';

    protected $SOURCE_ID = '73753';  //商户编号
    protected $SHOP_NO = '11047059'; //门店编号
    protected $SUCCESS = "success";
    protected $FAIL = "fail";
}